//
//  ResumeHeaderV.m
//  HubeiHotel
//
//  Created by LiBenCan on 17/11/22.
//  Copyright © 2017年 张露杰. All rights reserved.
//

#import "ResumeHeaderV.h"
@interface ResumeHeaderV()
@property (nonatomic,strong)UIImageView *headerImageV;
@end

@implementation ResumeHeaderV

-(instancetype)initWithFrame:(CGRect)frame
{
    if (self = [super initWithFrame:frame]) {
        [self CreatUI];
    }
    return self;
}
-(void)CreatUI
{
    self.backgroundColor = backColor;
    
    if (!_nameLab) {
        //名字
        _nameLab = [TomamaUI createLabel:CGRectMake(25*screenW_6, 0, SCREENW-120*screenW_6, 45*screenW_6) textAligment:0 font:[UIFont systemFontOfSize:16*screenW_6] textColor: [UIColor colorWithHexString:@"#1FA37B"] text:@""];
        [self addSubview:_nameLab];
        
        //按钮
        _chooseBtn = [[HotelBTnView alloc]initWithFrame:CGRectMake(SCREENW-70*screenW_6,10*screenW_6,60*screenW_6,25*screenW_6) Title:@"编辑" NomolImageV:@"edit" SelectImageV:@"" IsSelect:NO];
        _chooseBtn.backgroundColor = backColor;
        _chooseBtn.userInteractionEnabled = YES;
        [self addSubview:_chooseBtn];
        
    }
}


@end
